package com.zzyl.mapper;

import com.zzyl.entity.Bed;
import com.zzyl.vo.BedVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BedMapper {

    List<BedVo> getBedsByRoomId(Integer roomId);

    //新增床位
    void createBed(Bed bed);
    //删除床位
    void deleteBed(Integer id);
    //修改床位
    void updateBed(Bed bedDto);
    //回显
    BedVo getById(Integer id);
}

